#!/bin/bash
vagrant up

vagrant halt

vagrant package --base base-ubuntu --output base-ubuntu.box

vagrant box remove base-ubuntu

vagrant box add base-ubuntu.box --name base-ubuntu

rm -rf base-ubuntu.box

vagrant destroy -f